
public enum Roles {
	Investigador(1),Cientifico(2),Transportista(3),Medico(4),ExpertoOperaciones(5);
	
	private int rol;
	
	Roles(int rol) {
		this.setRol(rol);
	}
	 
	public static  Roles getRol(int rol) {
		switch(rol) {
			case 1: return Investigador;
			case 2: return Cientifico;
			case 3: return Transportista;
			case 4: return Medico;
			case 5: return ExpertoOperaciones;
		}
		return null;
	}

	public void setRol(int rol) {
		this.rol = rol;
	}

	public int getRol() {
		return rol;
	}
	  
}
